<?php


/**
 * @deprecated
 * 30天4条访问
 */
class SearchFeedbackAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {
        $uid = $this->uid;
        $request = $this->getRequest();
        $feedback_score = $request->getPost("score", "");
        $feedback_reason = $request->getPost("reason", "");
        $feedback_other = $request->getPost("other", "");
        $input_requestId = $request->getPost("requestId", "");
        $input_query = $request->getPost("query", "");

        \Biz\service\activity\SearchFeedback::addSearchFeedBack($uid, $feedback_score, $feedback_reason, $feedback_other, $input_requestId, $input_query);

        $this->setSuccess("success");
    }


}